package com.lagou.dubbo.service;

import com.lagou.pojo.Token;

public interface IUserService {

    Token register(String email, String password, String code);

    boolean isRegistered(String email);

    Token login(String email, String password);

    String getEmailByToken(String tokenText);

    void logout();
}
